import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Vant from 'vant';

import 'vant/lib/index.css';

import { Icon } from 'vant';

import optimalBar from '@/compents/optimalBar.vue'


Vue.use(Icon);
Vue.use(Vant);

Vue.component("optimalBar", optimalBar)
require("./mock") //引用mock
Vue.config.productionTip = false
Vue.use(Vant);

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')